package com.func.tech.api;

import io.swagger.v3.oas.annotations.Parameter;
import org.springframework.ai.chat.ChatResponse;
import org.springframework.web.bind.annotation.RequestParam;
import reactor.core.publisher.Flux;

/**
 * <p>
 * IAiService
 * </p>
 *
 * @author Simon
 * @version 2025.05.29.1.0.0
 * @description AI服务提供的调用接口
 * @since 2025-05-29
 */

public interface IAiService {
    public ChatResponse generate(String model, String message);

    public Flux<ChatResponse> generateStream(String model, String message);

    public Flux<ChatResponse> generatorStreamRag(String model, String ragTag, String message);
}
